package com.aaa.os;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.aaa.os.dao")
@EnableEurekaClient // 开启eureka客户端 当注册中心为eureka时，使用该注解
@EnableTransactionManagement
//@EnableDiscoveryClient 开启客户端发现 任意注册中心使用该注解
public class OrderAApp {
    public static void main(String[] args) {
        SpringApplication.run(OrderAApp.class,args);
    }
}
